//index.js
//获取应用实例
Page({
  data: {
    shuju:{}
  },
  onLoad: function (e) {
    console.log(e);
    var self=this;
    wx.request({
      url:"https://wx.ichelaba.com/htapi/index.php/store/store/index",
      data:{
        id:e.shopId
      },
      method:"GET",
      success:function(res){
        console.log(res)
        self.setData({
          shuju:res.data
        })
        wx.hideLoading();
      }
    })
    wx.showLoading();
  }
})
